(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <intuition/intuition.h>
#include <proto/intuition.h>
UWORD AddGadget()
SYNOPSIS
struct Window * window
struct Gadget * gadget
ULONG position

LOCATION
In IntuitionBase at offset 7
FUNCTION
Adds a single gadget to a window.

INPUTS
window
Add gadget to this window
gadget
Add this gadget
position
The position to add the gadget in the list of gadgets already in the window. Use 0 to insert the gadget before all others or ~0 to append it to the list.
RESULT
The position where the gadget was really inserted.

NOTES
This just adds the gadget to the list. It will not be visible until you refresh the window.

EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
06.03.1997 digulla
A couple of new functions